package bcm.security;

/**
 * 连接认证类
 * Created by rubyoo on 2017/6/23.
 */
public interface BridgeSecurity {
    /**
     * 连接时的认证方法，如果连接成功则返回true，连接失败返回false
     * @param uid 用户名
     * @param pwd 密码
     * @return
     * @throws Exception
     */
    boolean auth(String bridgeName,String uid,String pwd) throws Exception;
}
